package com.caesar.method_fa;

/**
 * @author caesar
 * @date 2025/7/8
 * @Description:
 * @apiNote
 */
public abstract class Vehicle {
    private int wheels;

    public Vehicle(int wheels) {
        this.wheels = wheels;
    }

    public abstract void drive();

    @Override
    public String toString() {
        return "" +
                "轮子的数量：" + wheels;
    }
}
